
package com.jy.modules.cims.data.interact.core.loan.request;

import java.util.List;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;

import com.jy.modules.cims.data.interact.core.BaseHeaderRequestDTO;


/**
 * 
 * @classname: Request4037DTO.java
 * @description: 合同机构贷款回购Request
 *
 */
public class Request4038DTO extends BaseHeaderRequestDTO {

	@NotNull(message = "债权受让赎回批次号batchId不能为空")
	private String batchId;

	@NotBlank(message="合作机构代码cCode不能为空")
	private String cCode;
	@Valid
	@NotNull(message = "债权受让赎回列表transferList不能为空")
	@Size(min = 1, message = "债权受让赎回列表transferList不能为空")
	private List<RequestCreditRedemptionDTO> transferList;//放款对象

	public String getBatchId() {
		return batchId;
	}

	public void setBatchId(String batchId) {
		this.batchId = batchId;
	}

	public String getCCode() {
		return cCode;
	}
	public void setCCode(String cCode) {
		this.cCode = cCode;
	}
	 
	public List<RequestCreditRedemptionDTO> getTransferList() {
		return transferList;
	}

	public void setTransferList(List<RequestCreditRedemptionDTO> transferList) {
		this.transferList = transferList;
	}
}
